home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-13 | 710 b | 22 lines | [TEXT/ttxt] |
- language: infix-dylan
- module: Online-Insultant
-
- /* Copyright (C) 1994, Apple Computer, Inc. All rights reserved. */
-
- define-framework-library("Online-Insultant");
-
- define constant init-Online-Insultant = method()
- init-Online-Insultant-menus();
- unless(Speech-Available?())
- /* warn the user with an alert */
- /*--- I wonder if the framework provides a better way to do this ---*/
- signal("This is more fun if you install Speech Manager and Text-to-Speech");
- end unless;
-
- /* Do a gratuitous New Insult command when started up */
- open(make-insult-window());
- end;
-
- set-library-init-function(init-Online-Insultant)
-
- define constant run-Online-Insultant = start;